package st.lib.base.log.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @author zhangyu
 * @date 2018/9/20
 * 方法调用日志
 */
@Entity
public class LogMethod {
    @Id
    private long id;
    //应用名称
    private String appName;
    //应用版本号
    private String versionCode;
    //系统版本
    private String systemVersion;
    //用户账号
    private String userAccount;
    //用户当前网络
    private String netState;
    //当前时间
    private String currentTime;
    //调用的类名
    private String className;
    //方法名
    private String methodName;
    //执行时长
    private long exeTime;

    @Generated(hash = 824533002)
    public LogMethod(long id, String appName, String versionCode,
            String systemVersion, String userAccount, String netState,
            String currentTime, String className, String methodName, long exeTime) {
        this.id = id;
        this.appName = appName;
        this.versionCode = versionCode;
        this.systemVersion = systemVersion;
        this.userAccount = userAccount;
        this.netState = netState;
        this.currentTime = currentTime;
        this.className = className;
        this.methodName = methodName;
        this.exeTime = exeTime;
    }
    @Generated(hash = 1495852445)
    public LogMethod() {
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public String getAppName() {
        return this.appName;
    }
    public void setAppName(String appName) {
        this.appName = appName;
    }
    public String getVersionCode() {
        return this.versionCode;
    }
    public void setVersionCode(String versionCode) {
        this.versionCode = versionCode;
    }
    public String getSystemVersion() {
        return this.systemVersion;
    }
    public void setSystemVersion(String systemVersion) {
        this.systemVersion = systemVersion;
    }
    public String getUserAccount() {
        return this.userAccount;
    }
    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }
    public String getNetState() {
        return this.netState;
    }
    public void setNetState(String netState) {
        this.netState = netState;
    }
    public String getCurrentTime() {
        return this.currentTime;
    }
    public void setCurrentTime(String currentTime) {
        this.currentTime = currentTime;
    }
    public String getClassName() {
        return this.className;
    }
    public void setClassName(String className) {
        this.className = className;
    }
    public String getMethodName() {
        return this.methodName;
    }
    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }
    public long getExeTime() {
        return this.exeTime;
    }
    public void setExeTime(long exeTime) {
        this.exeTime = exeTime;
    }

    @Override
    public String toString() {
        return "LogMethod{" +
                "id=" + id +
                ", appName='" + appName + '\'' +
                ", versionCode='" + versionCode + '\'' +
                ", systemVersion='" + systemVersion + '\'' +
                ", userAccount='" + userAccount + '\'' +
                ", netState='" + netState + '\'' +
                ", currentTime='" + currentTime + '\'' +
                ", className='" + className + '\'' +
                ", methodName='" + methodName + '\'' +
                ", exeTime=" + exeTime +
                '}';
    }
}
